package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.ShopWalletDao;
import com.fsj.admin.system.domain.ShopWalletDO;
import com.fsj.admin.system.service.ShopWalletService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class ShopWalletServiceImpl implements ShopWalletService {
	@Autowired
	private ShopWalletDao shopWalletDao;
	
	@Override
	public ShopWalletDO get(Long id){
		return shopWalletDao.get(id);
	}
	
	@Override
	public List<ShopWalletDO> list(Map<String, Object> map){
		return shopWalletDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shopWalletDao.count(map);
	}
	
	@Override
	public int save(ShopWalletDO shopWallet){
		return shopWalletDao.save(shopWallet);
	}
	
	@Override
	public int update(ShopWalletDO shopWallet){
		return shopWalletDao.update(shopWallet);
	}
	
	@Override
	public int remove(Long id){
		return shopWalletDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return shopWalletDao.batchRemove(ids);
	}

	@Override
	public ShopWalletDO getShopWalletByShopId(Long id) {
		return shopWalletDao.getShopWalletByShopId(id);
	}

}
